libmymath.so:add.o sub.o
	gcc -shared -o $@ $^
%.o:%.c
	gcc -fPIC -c $<

.PHONY:clean
clean:
	rm -f *.o libmymath.so output
.PHONY:output 
output:
	mkdir output 
	cp *.h output/
	cp libmymath.so output/

